home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr25
/
gnuplsrc.zip
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1993-03-21
|
1KB
|
36 lines
# makefile for 32-bit version of Gnushell
# compiled using Johnson (?) gcc21
# -- .c files have // style comments, so require some trickery in
# -- order to compile
# -- -x c++ treat as c++ ...
# -- -U__cpluplus but don't use some defines in .h files
# -- -E preprocess to strip comments ...
# -- -o temp.i into temp file
# -- $(C..temp.i then compile preprocessed file (whew)
#
CFLAGS= -c
CC=gcc
INCL=/gnu/gcc-include
.c.obj:
$(CC) -U__cplusplus -x c++ -I $(INCL) -E -o temp.i $*.c
$(CC) $(CFLAGS) -o $*.obj temp.i
del temp.i
gnushell.exe: gnushell.hlp gnushell.res gnushell.obj gclient.obj \
print.obj dialogs.obj winextra.obj gnushell.def
link386 gnushell+gclient+print+dialogs+winextra, \
gnushell , nul , libc os2, gnushell
rc gnushell.res gnushell.exe
help: gnushell.hlp
gnushell.res : gnushell.rc gnu2.ico
rc -r gnushell
gnushell.hlp: gnushell.itl
$(CC) -E -DGENHELP gnushell.itl
ipfc gnushell.i